<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title><?php echo $this->S['softname'].'-'.$this->S['version']?>  ---- Powered by TAYGOD</title>
<base href="<?php echo base_url()?>"  />
<link href="static/images/admin/admin.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
    function setTab(name,cursel,n){
        for(i=1;i<=n;i++){
            var menu=document.getElementById(name+i);
            var con=document.getElementById("con_"+name+"_"+i);
            try {

                menu.className=i==cursel?"navon":"";
                if(i==8){document.getElementById('nav8').className="end"} //add
                con.style.display=i==cursel?"block":"none";
                if (cursel == 1){document.getElementById('nav1').className = "navon_start"}else{if(i==1){document.getElementById('nav1').className="start"}}//add
            }catch(e){}
        }
        if (cursel == 8){document.getElementById('nav8').className = "navon_end";document.getElementById('nav1').className="start";}  //add
        return false;
    }


	function setclosebtn(){

		main_fl = document.getElementById('main-fl');
		leftdiv = document.getElementById('left');
		closebtn = document.getElementById('close');


		main_fl.style.width = '2px';
		leftdiv.style.display='none';
		closebtn.innerHTML = '<img src=\"static/images/admin/admin_left_open_btn.gif\" width=\"9\" height=\"41\" border=\"0\"  onclick=\"setopenbtn();\" alt=\"打开\"  /> ';
		closebtn.style.left = "2px";
	}

    function setopenbtn(){

        main_fl = document.getElementById('main-fl');
        leftdiv = document.getElementById('left');
        closebtn = document.getElementById('close');


        main_fl.style.width = '200px';
        leftdiv.style.display='block';
        closebtn.innerHTML = '<img src=\"static/images/admin/admin_left_close_btn.gif\" width=\"9\" height=\"41\" border=\"0\" onclick=\"setclosebtn();\" alt=\"关闭\"   /> ';
        closebtn.style.left = "198px";
    }
</script>
</head>
<body scroll="no"  style="height:100%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" >
    <tr>
        <td height="70" colspan="3">
        <div id="header">
			<div class="tips_top fr">
                <img src="static/images/admin/admin_top_tips_link.gif" width="159" height="22" />
            </div>
            <div class="logo fl" style="float:left; width: 160px">
                <div class="png"><a href="<?php echo made_admin_url('main/mainfra') ?>" target="main"><img width="160" height="34" src="static/images/admin/admin_main_logo.gif" alt=" TAYCMS 免费企业建站系统 " /></a></div>
                <div class="lun"><span style="color:#FA891B"><?php echo TAYCMS_VERSION; ?></span> build <?php echo TAYCMS_BUILDTIME; ?> </div>
            </div>

            <div class="h_r">
                <ul class="nav">

                    <li id="nav1" onClick="return setTab('nav',1,12)" class="start navon_start"><a href="#">常用操作</a></li>
                    <li id="nav2" onClick="return setTab('nav',2,12)" ><a href="#">全局设置</a></li>
                    <li id="nav3" onClick="return setTab('nav',3,12)"><a href="#">内容管理</a></li>
                    <li id="nav4" onClick="return setTab('nav',4,12)"><a href="#">产品管理</a></li>
                    <li id="nav5" onClick="return setTab('nav',5,12)"><a href="#">用户管理</a></li>
                    <li id="nav6" onClick="return setTab('nav',6,12)"><a href="#">模版风格</a></li>
                    <li id="nav7" onClick="return setTab('nav',7,12)" ><a href="#">其他功能</a></li>
                    <li id="nav8" onClick="return setTab('nav',8,12)" class="end"><a href="#">使用帮助</a></li>

                </ul>

                <div class="wei">当前用户：<a title="查看或修改我的相关信息" href="<?php echo made_admin_url('system/password/'.$this->S['admin']['id']); ?>" target="main">admin</a>（
                    网站创始人&
                    管理员 | <a href="<?php echo made_admin_url('login/quit');?>">退出后台</a>） &nbsp;|&nbsp; <a href="<?php echo made_admin_url('system/update_cache');?>" target="main">清空缓存</a> &nbsp;|&nbsp; <a title="在新窗口中打开访问首页" href="index.php" style="cursor: pointer;" class="s0" target="_blank">网站首页</a> &nbsp;|&nbsp; <a href="http://bbs.taygod.com/forum-2-1.html" target="_blank" title="在线升级到记事狗最新版本">在线升级</a> &nbsp;</div>

            </div>
            <div class="c"></div>
        </div>


        </td>
    </tr>
    <tr>
        <td  valign="top"  id="main-fl"  >

            <div id="left">
                <div id="left_top_btn">
                    <img src="static/images/admin/admin_left_top_title.gif" width="202" height="25" border="0" usemap="#sysMap" /></div>
                <map name="sysMap" id="sysMap">
                    <area shape="rect" coords="7,3,83,24" href="/sitting" />
                    <area shape="rect" coords="87,4,141,23" href="/sitting?sq" />
                    <area shape="rect" coords="144,3,197,24" href="<?php echo made_admin_url('login/quit');?>" />
                </map>
                <div id="con_nav_1">
                    <h1> 常用功能操作 </h1>
                    <ul>
                        <li><a href="<?php echo made_admin_url('system/setting');?>" target="main"  >网站核心设置</a></li>
                        <li><a href="<?php echo made_admin_url('chips');?>" target="main">碎片代码管理</a></li>
                        <li><a href="<?php echo made_admin_url('info');?>" target="main">单页信息管理</a></li>
                        <li><a href="<?php echo made_admin_url('ad');?>" target="main">广告幻灯管理</a></li>
                        <li><a href="<?php echo made_admin_url('flink');?>" target="main">友情链接管理</a></li>
                      </ul>



                </div>



                <div id="con_nav_2" style="display:none">
                    <h1> 全局设置 </h1>
                    <ul>
                        <li><a href="<?php echo made_admin_url('system/setting');?>" target="main">网站核心设置</a></li>
                        <li style="display: none;"><a href="#" target="main">注册访问控制</a></li>
                        <li><a href="<?php echo made_admin_url('system/seo');?>" target="main">页面优化及SEO</a></li>
                        <li><a href="<?php echo made_admin_url('system/dataconfig');?>" target="main">数据库配置</a></li>

                    </ul>

                </div>

                <div id="con_nav_3" style="display:none">
                    <h1> 内容管理 </h1>
                    <ul>
                        <li><a href="<?php echo made_admin_url('tclass?tbname=news');?>" target="main">文章分类</a></li>
                        <li><a href="<?php echo made_admin_url('news');?>" target="main">文章管理</a></li>
                        <li><a href="<?php echo made_admin_url('news/addnews');?>" target="main">添加文章</a></li>
                    </ul>
                    <div class="leftline"></div>
                    <ul>
                        <li><a href="<?php echo made_admin_url('tclass?tbname=info');?>" target="main">单页分类</a></li>
                        <li><a href="<?php echo made_admin_url('info');?>" target="main">单页管理</a></li>
                        <li><a href="<?php echo made_admin_url('info/addinfo');?>" target="main">添加单页</a></li>
                    </ul>
                    <div class="leftline"></div>
                    <ul>
                        <li><a href="<?php echo made_admin_url('job');?>" target="main">招聘管理</a></li>
                        <li><a href="<?php echo made_admin_url('job/add');?>" target="main">添加招聘</a></li>
                     </ul>



                </div>



                <div id="con_nav_4" style="display:none">
                    <h1> 产品管理 </h1>
                    <ul>
                        <li><a href="<?php echo made_admin_url('tclass?tbname=product');?>" target="main">产品分类</a></li>
                        <li><a href="<?php echo made_admin_url('product');?>" target="main">产品管理</a></li>
                        <li><a href="<?php echo made_admin_url('product/addproduct');?>" target="main">添加产品</a></li>
                    </ul>

                </div>



                <div id="con_nav_5" style="display:none">
                    <h1> 用户管理 </h1>
                    <ul>
                        <li><a href="<?php echo made_admin_url('system/password/'.$this->S['admin']['id']); ?>" target="main">管理员密码修改</a></li>

                    </ul>

                </div>

                <div id="con_nav_6" style="display:none">
                    <h1> 模版风格 </h1>
                    <ul>
                        <li><a href="<?php echo made_admin_url('nav?type=1');?>" target="main">网站导航配置</a></li>

                    </ul>

                </div>

                <div id="con_nav_7" style="display:none">
                    <h1> 系统工具 </h1>
                    <ul>
                        <li><a href="<?php echo made_admin_url('tclass?tbname=ad');?>" target="main">广告分类添加</a></li>
                        <li><a href="<?php echo made_admin_url('ad');?>" target="main">广告幻灯管理</a></li>

                    </ul>

                    <div class="leftline"></div>

                    <ul>

                        <li><a href="<?php echo made_admin_url('message');?>" target="main">客户留言管理</a></li>

                    </ul>

                    <div class="leftline"></div>

                    <ul>

                        <li><a href="<?php echo made_admin_url('flink');?>" target="main">友情链接管理</a></li>
                        <li><a href="<?php echo made_admin_url('system/kefu');?>" target="main">在线客服管理</a></li>

                    </ul>

                </div>

                <div id="con_nav_8" style="display:none">
                    <h1> 使用帮助 </h1>
                    <ul>
                        <li><a href="http://bbs.taygod.com/forum-2-1.html" target="_blank">程序发布动态</a></li>
                        <li><a href="http://bbs.taygod.com/forum-54-1.html" target="_blank">安装使用教程</a></li>
                        <li><a href="http://bbs.taygod.com/forum-40-1.html" target="_blank">数据转换方法</a></li>
                        <li><a href="http://bbs.taygod.com/forum-42-1.html" target="_blank">模版风格下载</a></li>

                    </ul>

                </div>




                <div class="leftline"></div>
                <div class="left_copyright">

                    <p><a href="http://www.taycms.com" target="_blank">&copy; <?php echo TAYCMS_NAME.' for PHP '.TAYCMS_VERSION?></a></p>
                </div>

                </div>
        </td>
        <td><div id="close"  ><img src="static/images/admin/admin_left_close_btn.gif" width="9" height="41" border="0"  onclick="setclosebtn();"   /></div></td>
        <td valign="top" id="mainright" style="height:90%; background:#f2f2f2  " ><iframe name="main" frameborder="0" width="100%" height="100%"  scrolling="yes" style="overflow: visible;" src="<?php echo made_admin_url('main/mainfra') ?>">
        </iframe></td>
    </tr>
</table>


</body>
</html>